Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wrap plonky2 proof to groth16 #93

Closed
wants to merge 56 commits into from
Closed

Conversation

tamirhemo
Copy link
Contributor

@tamirhemo tamirhemo commented Aug 28, 2023

Standardize the plonky2 circuits by recursively verifying. Including method to save for the gnark verifier.

To see the example, first run:

RUST_LOG="debug" cargo test --release test_wrapper -- --show-output

Then in the plonky2x-verifier folder:

  1. To test the groth16 circuit with mock setup:
go run . -circuit test_circuit --test
  1. To compile the circuit and save to disk:
go run . -circuit test_circuit --compile
  1. To make and verify a proof (and save to disk)
go run . -circuit test_circuit --prove
  1. To verify a proof (loaded from disk)
go run . -circuit test_circuit --verify

@jtguibas
Copy link
Contributor

Can you rename the folder from _verifier to -verifier?

@tamirhemo tamirhemo marked this pull request as ready for review August 30, 2023 08:06
@tamirhemo
Copy link
Contributor Author

Moved to #157

@tamirhemo tamirhemo closed this Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants